using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class DMS064Entity:AF_ORM.CORE.BaseEntity
    {
         public DMS064Entity()
         {
             tableName = "DMS064";


			 fieldInfos.Add(new FieldInfo("DMS064","P_CODE","P_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","P_TYPE","P_TYPE","string",20,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","P_NAME","P_NAME","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","AREA_CODE","AREA_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","ACTFLG","ACTFLG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","CTDUSR","CTDUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","CTDWKS","CTDWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","CTDPGM","CTDPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","CTDDTM","CTDDTM","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","MDFUSR","MDFUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","MDFWKS","MDFWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","MDFPGM","MDFPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS064","LSTMDF","LSTMDF","DateTime",0,false,false,false,false,"","",""));
         }
       //properties
                    
		 protected string m_P_CODE;
		 protected string m_P_TYPE;
		 protected string m_P_NAME;
		 protected string m_AREA_CODE;
		 protected string m_ACTFLG;
		 protected string m_CTDUSR;
		 protected string m_CTDWKS;
		 protected string m_CTDPGM;
		 protected DateTime m_CTDDTM;
		 protected string m_MDFUSR;
		 protected string m_MDFWKS;
		 protected string m_MDFPGM;
		 protected DateTime m_LSTMDF;

		 public string P_CODE

          { 
                get { 
                    return m_P_CODE;}

                set{m_P_CODE=value;

                    GetField("P_CODE").Set();
                    GetField("P_CODE").IsNull=(value == null);           
                    }
          }
		 public string P_TYPE

          { 
                get { 
                    return m_P_TYPE;}

                set{m_P_TYPE=value;

                    GetField("P_TYPE").Set();
                    GetField("P_TYPE").IsNull=(value == null);           
                    }
          }
		 public string P_NAME

          { 
                get { 
                    return m_P_NAME;}

                set{m_P_NAME=value;

                    GetField("P_NAME").Set();
                    GetField("P_NAME").IsNull=(value == null);           
                    }
          }
		 public string AREA_CODE

          { 
                get { 
                    return m_AREA_CODE;}

                set{m_AREA_CODE=value;

                    GetField("AREA_CODE").Set();
                    GetField("AREA_CODE").IsNull=(value == null);           
                    }
          }
		 public string ACTFLG

          { 
                get { 
                    return m_ACTFLG;}

                set{m_ACTFLG=value;

                    GetField("ACTFLG").Set();
                    GetField("ACTFLG").IsNull=(value == null);           
                    }
          }
		 public string CTDUSR

          { 
                get { 
                    return m_CTDUSR;}

                set{m_CTDUSR=value;

                    GetField("CTDUSR").Set();
                    GetField("CTDUSR").IsNull=(value == null);           
                    }
          }
		 public string CTDWKS

          { 
                get { 
                    return m_CTDWKS;}

                set{m_CTDWKS=value;

                    GetField("CTDWKS").Set();
                    GetField("CTDWKS").IsNull=(value == null);           
                    }
          }
		 public string CTDPGM

          { 
                get { 
                    return m_CTDPGM;}

                set{m_CTDPGM=value;

                    GetField("CTDPGM").Set();
                    GetField("CTDPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime CTDDTM

          { 
                get { 
                    return m_CTDDTM;}

                set{m_CTDDTM=value;

                    GetField("CTDDTM").Set();
                    GetField("CTDDTM").IsNull=(value == null);           
                    }
          }
		 public string MDFUSR

          { 
                get { 
                    return m_MDFUSR;}

                set{m_MDFUSR=value;

                    GetField("MDFUSR").Set();
                    GetField("MDFUSR").IsNull=(value == null);           
                    }
          }
		 public string MDFWKS

          { 
                get { 
                    return m_MDFWKS;}

                set{m_MDFWKS=value;

                    GetField("MDFWKS").Set();
                    GetField("MDFWKS").IsNull=(value == null);           
                    }
          }
		 public string MDFPGM

          { 
                get { 
                    return m_MDFPGM;}

                set{m_MDFPGM=value;

                    GetField("MDFPGM").Set();
                    GetField("MDFPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime LSTMDF

          { 
                get { 
                    return m_LSTMDF;}

                set{m_LSTMDF=value;

                    GetField("LSTMDF").Set();
                    GetField("LSTMDF").IsNull=(value == null);           
                    }
          }

}
}
